#include <stdio.h>
#include <stdlib.h>

typedef struct Student
{
	int iId;
	char caName[32];
	float fScore;
}STU;

int main(void)
{
	//auto STU stu;	
	STU *stu = (STU *)malloc(sizeof(STU));
	printf("请输入学生的信息id,name,score:\n");
	scanf("%d%s%f", &stu->iId, stu->caName, &stu->fScore);

	printf("id:%d,name:%s,score:%.1f\n"
           , stu->iId, stu->caName
	       , stu->fScore);
	free(stu);

	return 0;
}
